<style>
</style>
<div style="padding-bottom:20px;width:auto">
			<div class='content-empty c' style="margin-top:0" ng-if="!pagedata.addresslist || pagedata.addresslist.length<1">
						<i class='icon icon-location'></i>
						<br/>您还没有任何收货地址
			</div>	
			<div ng-repeat="address in pagedata.addresslist" class="fui-cell-group address-item" style='margin-top:10rpx;'>
					<div class="fui-cellone" >
						<div class="fui-cellone-text">
							<div class="title bold"><span class='realname'>{{address.realname}}</span> <span class='mobile'>{{address.mobile}}</span></div>
							<div class="text">
								<span class='address'>{{address.pcd.province}}{{address.pcd.city}}{{address.pcd.area}} {{address.address}}</span>
							</div>
						</div>
						<div class="fui-cellone-remark">
							<a href="javascript:" ng-click="pagedata.post.addressid=address.id;pagedata.post.address=address;pagedata.showaddress=false" class="btn btn-primary">选择</a>
						</div>
					</div>
			</div>
</div>
<script language='javascript'>
scope.pagedata.getaddress=function(){
	if(!scope.pagedata.post.mid){
		scope.message('请先选择会员！','error');
		return false;
	}
	scope.get('core/member.get_data/getaddress/uid='+scope.pagedata.post.mid,function(res){
		scope.pagedata.addresslist=res.list;
		scope.$evalAsync();
	});
}
scope.pagedata.getaddress();
</script>